package ro.unibuc.nautilus.domain;

import java.util.Date;

public class Tanker extends Ship {

	/**
	 * 
	 */
	private static final long serialVersionUID = -2482445306721374499L;
	private String fuelType;

	public Tanker() {
		super();
		this.setShipType(Ship.TANKER);
	}

	public Tanker(String name, double totalCapacity, double payload,
			double length, double draft, double speed, String fuel,
			Harbour baseHarbor, Harbour registrationHarbor,
			Harbour lastLocation, Date locationReportDate, String fuelType) {
		super(name, totalCapacity, payload, length, draft, speed, fuel, baseHarbor,
				registrationHarbor, lastLocation, locationReportDate);
		this.fuelType = fuelType;
	}

	public String getFuelType() {
		return fuelType;
	}

	public void setFuelType(String fuelType) {
		this.fuelType = fuelType;
	}
}
